﻿@using NHibernate
@using ZQNB.Common.Caching
@{
    ViewBag.Title = "Log";
    //test
    var nbSiteContextProvider = CoreServiceProvider.LocateService<ISession>();
    var siteContextProvider = CoreServiceProvider.LocateService<ISession>();
    int code = siteContextProvider.GetHashCode();
    int hashCode = nbSiteContextProvider.GetHashCode();
}

@section scripts
{
    <script src="~/Content/scripts/zqnb.favorite.js"></script>
}

<h2>@ViewBag.Message</h2>

@*<a href="javascript:void(0);" onclick="zqnb.favoriteUtil.setHome(this, location.href);">设为首页</a>
<a href="javascript:void(0);" onclick="zqnb.favoriteUtil.addFavorite('我的网站', location.href)">收藏本站</a>*@



<h1> @code : @hashCode</h1>